package com.wx.cloud.security.service;

import com.wx.cloud.security.model.LoginParams;
import com.wx.cloud.security.model.Permission;
import com.wx.cloud.security.model.User;

import java.util.List;
public interface UserService {

    User getUserByName(String name);

    List<Permission> getPermissionsByUserId(Integer id);

    String login(LoginParams loginPrams);
}

